<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>


<script>

if (document.compatMode == "CSS1Compat"){
	alert("标准模式");
} else {
	alert("怪异模式");
}


</script>




</body>
</html>
